

import * as API from './axios';
const qs = require('qs');
let base = process.env.API_ROOT;

export default {
    oauthApi: (params) => {
        return API.POST('/oauth/token', qs.stringify(params), base)
    },
}
